const fs=require('fs')
let obj=[
    {
        name:'cyq'
    }
]

// fs.writeFileSync('./a.json',JSON.stringify(obj),'utf-8')
// fs.writeFileSync('./a.txt','111','utf-8');
// fs.copyFileSync('../day2-demo/demo.js','./demo1.js')
// fs.appendFileSync('./a.txt','666','utf-8')
// fs.unlinkSync('./a.txt')
// fs.renameSync('./a.json','b.json')

const list=fs.readdirSync('../day2-demo')
console.log(list,'list');








